package com.flyco.modules.sms.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.flyco.modules.sms.entity.SmsGiftStoreGroupRelation;
import com.flyco.modules.sms.entity.SmsGiftStoreRelation;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SmsGiftStoreRelationMapper extends BaseMapper<SmsGiftStoreRelation> {

    Integer insertStoreRelationForGroupId(@Param("storeGroupIds") List<Long> storeGroupIds, @Param("giftId") Long giftId, @Param("brandCategory") Integer brandCategory);

}
